<!--  para_type 参数类型,  para_code 参数码值 -->
<#macro prodselect para_type para_code>
<select class="select1 form_control"  id=${para_type} name=${para_type}>
    <option value="">请选择</option>
    <#list DictUtils.getDicts(para_type) as  dict>
        <#if para_code ==dict.PARA_CODE>
            <option value="${dict.PARA_CODE}" selected>${dict.CODE_NAME}</option>
        <#else>
            <option value="${dict.PARA_CODE}">${dict.CODE_NAME}</option>
        </#if>
    </#list>
</select>
</#macro>

<#macro deptselect para_type para_code>
<select class="address"  id=${para_type} name=${para_type}>
    <#list DictUtils.getDicts(para_type) as  dict>
        <#if para_code ==dict.PARA_CODE>
            <option value="${dict.PARA_CODE}" selected>${dict.CODE_NAME}</option>
        <#else>
            <option value="${dict.PARA_CODE}">${dict.CODE_NAME}</option>
        </#if>
    </#list>
</select>
</#macro>

<#macro prodspan para_type para_code>
    <#if para_code == null >
        <span value="">请选择</span>
    </#if>
    <#list DictUtils.getDicts(para_type) as  dict>
        <#if para_code ==dict.PARA_CODE>
            <span>${dict.CODE_NAME}</span>
        </#if>
    </#list>
</#macro>

<#macro prodtext para_type para_code><#list DictUtils.getDicts(para_type) as  dict><#if para_code ==dict.PARA_CODE>${dict.CODE_NAME}</#if></#list>
</#macro>